package com.dao.primary.sys;

import com.model.pojo.sys.SysUserRole;

import java.util.List;

public interface SysUserRoleMapper {
    int deleteByPrimaryKey(Long sysUserRoleId);

    int insert(SysUserRole record);

    int insertSelective(SysUserRole record);

    SysUserRole selectByPrimaryKey(Long sysUserRoleId);

    int updateByPrimaryKeySelective(SysUserRole record);

    int updateByPrimaryKey(SysUserRole record);

    List<SysUserRole> selectListByUserId(Long userId);

    int countByRoleId(Long roleId);

    int insertSysUserRoleList(List<SysUserRole> sysUserRoleList);

    int deleteBySysRoleId(Long sysRoleId);

}